import React, { Component } from 'react';
import style from './index.less';
import { Typography } from 'antd';

const { Title, Text } = Typography;

export default class index extends Component {
  render() {
    const { list=[] } = this.props;
    return (
      <div className={style.separate}>
        {list.map(e => (
          <div className="separate-line">
            <Text type="secondary">{e.text}</Text>
            <Title level={4}>{e.title}</Title>
          </div>
        ))}
      </div>
    );
  }
}
